import request from '@/utils/request'

// 查询新支付记录信息列表
export function listPaylog(query) {
  return request({
    url: '/business/paylog/list',
    method: 'get',
    params: query
  })
}

// 查询新支付记录信息详细
export function getPaylog(payId) {
  return request({
    url: '/business/paylog/' + payId,
    method: 'get'
  })
}

// 新增新支付记录信息
export function addPaylog(data) {
  return request({
    url: '/business/paylog',
    method: 'post',
    data: data
  })
}

// 修改新支付记录信息
export function updatePaylog(data) {
  return request({
    url: '/business/paylog',
    method: 'put',
    data: data
  })
}

// 删除新支付记录信息
export function delPaylog(payId) {
  return request({
    url: '/business/paylog/' + payId,
    method: 'delete'
  })
}
